package com.kt.demo.dao;

import com.kt.demo.pojo.AppVersion;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AppVersionMapper {
    int deleteVersionByAppId(@Param("appId") Integer appId) throws Exception;

    int add(AppVersion record);

    AppVersion getAppVersionById(@Param("id") int id);

    int modify(AppVersion appVersion) throws Exception;

    List<AppVersion> getAppVersionList(@Param("appId") Integer appId) throws Exception;

    int getVersionCountByAppId(@Param("appId") Integer appId) throws Exception;

    int deleteApkFile(@Param("id") Integer id) throws Exception;

}